ScssPhp\ScssPhp\Parser D

Total Complexity 586
Dependencies 6
Dependents 1
Total lines 3,010
Lines of code 1,745
Logical lines of code 1,137
Comment lines 574
Methods 66
Properties 19

Methods 66

Method Rating Maintainability Complexity Lines of code
parseChunk()
D
3
140 330
selectorSingle()
D
25
53 142
value()
D
31 38 100
supportsQuery()
C
34 29 90
string()
B
39 21 66
openString()
A
45 14 39
mediaQuery()
A
47 14 33
expHelper()
A
48 14 29
color()
A
45 12 41
func()
A
49 12 29
whitespace()
A
45 10 42
parse()
A
44 9 44
interpolation()
A
51 10 26
propertyName()
A
47 9 39
argumentDef()
A
48 8 35
expression()
A
50 8 29
map()
A
53 8 23
mediaExpression()
A
57 8 17
mixedKeyword()
S
53 7 25
argumentList()
S
52 7 24
genericList()
S
53 7 23
__construct()
S
52 7 22
parenExpression()
S
59 7 14
selector()
S
54 6 24
pushBlock()
S
51 5 29
matchString()
S
53 5 22
argValue()
S
56 5 19
selectors()
S
56 5 19
parenValue()
S
56 5 19
progid()
S
57 5 17
to()
S
58 5 15
stripAssignmentFlags()
S
58 5 14
matchChar()
S
61 5 13
unit()
S
60 5 12
getSourcePosition()
S
57 4 17
append()
S
58 4 16
placeholder()
S
60 4 15
popBlock()
S
59 4 15
match()
S
59 4 14
literal()
S
60 4 13
restrictedKeyword()
S
65 4 8
end()
S
65 4 9
appendComment()
S
65 4 8
keyword()
S
61 3 13
extractLineNumbers()
S
61 3 12
variable()
S
65 3 9
flattenList()
S
69 3 6
saveEncoding()
S
63 3 10
throwParseError()
S
62 3 10
url()
S
67 2 7
restoreEncoding()
S
75 2 5
stripOptionalFlag()
S
64 2 10
last()
S
70 2 6
show()
S
70 2 6
argValues()
S
68 2 7
peek()
S
66 2 8
parseMediaQueryList()
S
63 1 11
parseValue()
S
63 1 11
parseSelector()
S
63 1 11
pushSpecialBlock()
S
73 1 5
seek()
S
81 1 3
pregQuote()
S
79 1 3
getSourceName()
S
82 1 3
spaceList()
S
79 1 3
valueList()
S
79 1 3
mediaQueryList()
S
78 1 3